using System;

namespace Liberty.Domain.ServiceMemberManagement
{
    [Serializable]
    public class Unit
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        /// <summary>
        /// Creates a stubbed unit populated with frequently used primitives.
        /// Other aggregated objects are not populated by this factory method.
        /// </summary>
        /// <returns></returns>
        public static Unit TestInstance()
        {
            Unit stub = new Unit( "Some Unit" );

            return stub;
        }
        #endregion

        #region Properties
        public string Name
        {
            get { return i_Name; }
            set { i_Name = value; }
        }
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        public Unit( string unitName )
        {
            this.i_Name = unitName;
        }
        #endregion

        #region Data Elements
        private string i_Name;
        #endregion
    }//end Unit
}//end namespace ServiceMemberManagement
